home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
basic
/
fglqbx10.zip
/
11-02.BAS
< prev
next >
Wrap
BASIC Source File
|
1991-06-07
|
498b
|
32 lines
REM $INCLUDE: 'fastgraf.bi'
DEFINT A-Z
Status = SETMEM(-1*(64000+16))
NewMode = FGbestmode(320,200,2)
IF NewMode < 0 OR NewMode = 12 THEN
PRINT "This program requires a 320 x 200 color graphics mode."
STOP
END IF
OldMode = FGgetmode
FGsetmode NewMode
Status = FGallocate(1)
FGsethpage 1
FGsetcolor 2
FGrect 0, 319, 0, 199
FGsetpage 1
FGsetcolor 1
FGrect 0, 319, 0, 199
FGwaitkey
FGfadein 0
FGwaitkey
Status = FGfreepage(1)
FGsetmode OldMode
FGreset
END